#ifndef __ADC_H
#define	__ADC_H

#include "stm32f10x.h" 
#include "stm32f10x_adc.h"

#define ADC1_IN12_CHANNEL 12

void ADC_Config(void);
u16  Get_Adc(u8 ch);
u16 Get_Adc_Average(u8 ch, u8 times);
float calculate_temperature(void);
#endif /* __ADC_H */
